/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ACCOUNT_H
#define __ACCOUNT_H

# ifdef __cplusplus
extern "C" {
# endif
//content start
char *account_verification(const char *email, void *db,
    const char *sender, const char *authorizationCode);
char *account_xml_verification(const char *msg, int size, void *db,
    const char *sender, const char *authorizationCode);
char *account_sign_up(const char *email, const char *verification,
    const char *usr, const char *pwd, void *sql);
char *account_xml_sign_up(const char *msg, size_t size, void *sql);
//<root><child id="8" pwd="3233"/></root>
char *account_sign_in(const char *usr, const char *pwd, void *sql);
char *account_xml_sign_in(const char *msg, size_t size, void *sql);
//content end
# ifdef __cplusplus
}
# endif

#endif //__ACCOUNT_H

